// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_INV_MTRL_TRANS_ITEM
// * CreateDate    : 2014-06-05 18:30:09
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:09
// * LastChanger   : 2014-06-05 18:30:09
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class InvMtrlTransItemTable : TableInfo
    {
		public const string C_TableName = "INV_MTRL_TRANS_ITEM";
		
		public const string C_ID = "ID";
		public const string C_TRANS_NO = "TRANS_NO";
		public const string C_MATERIAL_ID = "MATERIAL_ID";
		public const string C_MATERIAL_NAME = "MATERIAL_NAME";
		public const string C_MATERIAL_CODE = "MATERIAL_CODE";
		public const string C_REQ_QTY = "REQ_QTY";
		public const string C_TRANS_QTY = "TRANS_QTY";
		public const string C_UNIT = "UNIT";
		
		public InvMtrlTransItemTable()
        {
            _tableName = "INV_MTRL_TRANS_ITEM";
        }
		
		protected static InvMtrlTransItemTable _current;
        public static InvMtrlTransItemTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new InvMtrlTransItemTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_TRANS_NO, new ColumnInfo(C_TRANS_NO,"TransNo", false, typeof(string)));
            _current.Add(C_MATERIAL_ID, new ColumnInfo(C_MATERIAL_ID,"MaterialId", false, typeof(string)));
            _current.Add(C_MATERIAL_NAME, new ColumnInfo(C_MATERIAL_NAME,"MaterialName", false, typeof(string)));
            _current.Add(C_MATERIAL_CODE, new ColumnInfo(C_MATERIAL_CODE,"MaterialCode", false, typeof(string)));
            _current.Add(C_REQ_QTY, new ColumnInfo(C_REQ_QTY,"ReqQty", false, typeof(decimal)));
            _current.Add(C_TRANS_QTY, new ColumnInfo(C_TRANS_QTY,"TransQty", false, typeof(decimal)));
            _current.Add(C_UNIT, new ColumnInfo(C_UNIT,"Unit", false, typeof(string)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo TRANS_NO
        {
            get { return this[C_TRANS_NO]; }
        }
		
		public ColumnInfo MATERIAL_ID
        {
            get { return this[C_MATERIAL_ID]; }
        }
		
		public ColumnInfo MATERIAL_NAME
        {
            get { return this[C_MATERIAL_NAME]; }
        }
		
		public ColumnInfo MATERIAL_CODE
        {
            get { return this[C_MATERIAL_CODE]; }
        }
		
		public ColumnInfo REQ_QTY
        {
            get { return this[C_REQ_QTY]; }
        }
		
		public ColumnInfo TRANS_QTY
        {
            get { return this[C_TRANS_QTY]; }
        }
		
		public ColumnInfo UNIT
        {
            get { return this[C_UNIT]; }
        }
		
		
		
	}
}

